import org.w3c.dom.Node;

public class MyTree<E extends Comparable<E> > {
    private int size;
    private TreeNode<E> root;
    private class TreeNode<E>{
        private E data;
        private TreeNode<E> leftNode;
        private TreeNode<E> rightNode;

        public TreeNode(E data) {
            this(data,null,null);
        }
        public TreeNode(E data, TreeNode<E> leftNode, TreeNode<E> rightNode) {
            this.data = data;
            this.leftNode = leftNode;
            this.rightNode = rightNode;
        }
    }
    /*
    *
    **/
    public void add(TreeNode<E> root,TreeNode<E> newNode){
    }
    //1.创建一个新节点，储存要添加的节点


}
